<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
</head>

<body>
<div id="app">
<tao></tao>
</div>

<script>
    <!--全局组件没有s-->
    Vue.component("tao",
        {
           template:"<div style='width:200px;height:200px;background-color: coral;border-radius: 50%;line-height: 200px;text-align: center'>我是汪</div>"
        }
    );

    var v = new Vue({
        el: '#app',
    })


</script>

</body>
</html>